package com.os.sys.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@Table(name = "T_SYS_APPVERSION", catalog = "")
public class T_SYS_AppVersion {
    @Id
    @Column(name = "APP_KEY", length = 100)
    private String appKey;
    @Column(name = "APP_NAME", length = 200)
    private String appName;
    @Column(name = "VERSION_CODE", nullable = false)
    private String versionCode;
    @Column(name = "VERSION_MSG", length = 200)
    private String versionMsg;
    @Column(name = "PUBDATE")
    private Date pubDate = new Date();
    @Column(name = "MUST_UPDATE")
    private int mustUpdate; // 是否必须更新
    @Column(name = "DOWNLOAD_URI", length = 1000)
    private String downloadURI;

}
